package com.ibangnuo.api.alipay;

import com.ibangnuo.framework.domain.request.alipay.RefundRequest;
import com.ibangnuo.framework.model.response.ObjectResult;
import com.ibangnuo.framework.model.response.QueryResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * @Author: wwy
 * @Date: 2019-12-22 13:51
 */
@Api(value="退款单管理",description = "退款单管理接口，提供数据模型的增删改查")
public interface RefundControllerApi {

    @ApiOperation("分页查找退款单")
    @ApiImplicitParams({
            @ApiImplicitParam(name="page",value = "页码",required=true,paramType="path",dataType="int"),
            @ApiImplicitParam(name="size",value = "每页记录数",required=true,paramType="path",dataType="int")
    })
    QueryResponseResult findList(int page, int size, RefundRequest refundRequest);
    @ApiOperation("根据id查找退款记录")
    @ApiImplicitParams({
            @ApiImplicitParam(name="id",value = "退款表主键",required=true,paramType="path",dataType="String"),
    })
    ObjectResult findById(String id);
}
